/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package daa.levelup.Window;

import java.net.InetAddress;

/**
 *
 * @author user
 */
public class Logic
{

    public String getIPaddress()
    {

        String IP = "";
        try
        {
            IP = InetAddress.getLocalHost().getHostAddress();

        }
        catch (Exception e)
        {
            IP = "Error finding IP";
        }
        return IP;
    }
}
